#include("/template/common/layout/_page_layout.html")
#@layout()

#define css()
<style>
    .layui-form-pane .layui-form-label {
        width: 200px;
    }

</style>
#end

#define content()
<div class="layui-fluid">
    <!--<fieldset class="layui-elem-field layui-field-title" style="margin-top:30px;color:#009688;">-->
        <!--<legend style="font-size: 20px;font-weight: 500;">企业机构</legend>-->
    <!--</fieldset>-->
    <!--<br/>-->
    <!--<form id="person" class="layui-form" action="">-->
        <!--<div class="layui-form-pane" style="margin:0 20%">-->
            <!--<div class="layui-form-item">-->
                <!--<label class="layui-form-label" style="width: 180px;"><em class="require-mark">*</em>营业执照或相关文件</label>-->
                <!--<div class="layui-input-block" style="margin: 0 180px">-->
                    <!--<button class="layui-btn" name="check" id="check1" style="margin: 0 200px">点击查看</button>-->
                <!--</div>-->
            <!--</div>-->

            <fieldset class="layui-elem-field layui-field-title" style="color:#009688">
                <legend>组织机构</legend>
            </fieldset>
            <div style="padding: 20px; background-color: #F2F2F2;">
                <div class="layui-row layui-col-space15">
                    <div class="layui-col-md12">
                        <div class="layui-card">
                            <div class="layui-card-header">基本信息</div>
                            <div class="layui-card-body">
                                <form class="layui-form" action="">
                                    <div class="layui-row layui-col-space10 layui-form-item">
                                        <div class="layui-inline">
                                            <label class="layui-form-label" for="organization.name" >名称：</label>
                                            <div class="layui-input-block" >
                                                <input type="text" id="organization.name" name="organization.name" value="#(organization.name)"
                                                       class="layui-input " readonly/>
                                            </div>
                                        </div>
                                        <div class="layui-inline">
                                            <label class="layui-form-label" for="organization.principal" >负责人：</label>
                                            <div class="layui-input-block">
                                                <input type="text" id="organization.principal" name="organization.principal" value="#(organization.principal)"
                                                       class="layui-input "  readonly/>
                                            </div>
                                        </div>
                                        <div class="layui-inline">
                                            <label class="layui-form-label" for="organization.contact" >联系方式：</label>
                                            <div class="layui-input-block" >
                                                <input type="text" id="organization.contact" name="organization.contact" value="#(organization.contact)"
                                                       class="layui-input " readonly/>
                                            </div>
                                        </div>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <fieldset class="layui-elem-field layui-field-title" style="color:#009688">
                <legend>申请成为认证的机构</legend>
            </fieldset>
            <div style="padding: 20px; background-color: #F2F2F2;margin-top:19px">
                <div class="layui-row layui-col-space15">
                    <div class="layui-col-md12">
                        <div class="layui-card">
                            <div class="layui-card-header">基本信息</div>
                            <div class="layui-card-body">
                                <form class="layui-form" action="">
                                    <div class="layui-row layui-col-space10 layui-form-item">
                                        <div class="layui-inline">
                                            <label class="layui-form-label" for="enterprise.name" >名称：</label>
                                            <div class="layui-input-block" >
                                                <input type="text" id="enterprise.name" name="enterprise.name" value="#(enterprise.name)"
                                                       class="layui-input " readonly/>
                                            </div>
                                        </div>
                                        <div class="layui-inline">
                                            <label class="layui-form-label" for="enterprise.type" >主体类型：</label>
                                            <div class="layui-input-block">
                                                <input type="text" id="enterprise.type" name="enterprise.type" value="#(enterprise.type)"
                                                       class="layui-input "  readonly/>
                                            </div>
                                        </div>
                                        <div class="layui-inline">
                                            <label class="layui-form-label" style="width: 130px;">统一社会信用代码：</label>
                                            <div class="layui-input-block" style="margin-left:160px; width:200px;">
                                                <input type="text" value="#(enterprise.credit)" autocomplete="off" class="layui-input" readonly/>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="layui-row layui-col-space10 layui-form-item">
                                        <div class="layui-inline">
                                            <label class="layui-form-label" for="enterpriseStart" >创办日期：</label>
                                            <div class="layui-input-block" >
                                                <input type="text" id="enterpriseStart" name="enterprise.start"
                                                       value="#(enterprise.start)" class="layui-input " readonly/>
                                            </div>
                                        </div>
                                        <div class="layui-inline">
                                            <label class="layui-form-label" for="enterprise.capital" >注册资本：</label>
                                            <div class="layui-input-block" >
                                                <input type="text" id="enterprise.capital" name="enterprise.capital"
                                                       value='#number(enterprise.capital, ",###")' class="layui-input " readonly/>
                                            </div>
                                        </div>
                                        <div class="layui-inline">
                                            <label class="layui-form-label" style="width: 130px;">企业人数：</label>
                                            <div class="layui-input-block" style="margin-left:160px; width:200px;">
                                                <input type="text" value="#(enterprise.scale)" autocomplete="off" class="layui-input" readonly/>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="layui-row layui-col-space10 layui-form-item">
                                        <label class="layui-form-label">业务范围：</label>
                                        <div class="layui-input-block" style="width:890px;">
                                            <input type="text" value="#(enterprise.scope)" autocomplete="off" class="layui-input" readonly/>
                                        </div>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-md12">
                        <div class="layui-card">
                            <div class="layui-card-header">法人信息</div>
                            <div class="layui-card-body">
                                <form class="layui-form" action="">
                                    <div class="layui-row layui-col-space10 layui-form-item">
                                        <div class="layui-col-md4">
                                            <div class="layui-inline">
                                                <label class="layui-form-label" for="enterprise.person">姓名：</label>
                                                <div class="layui-input-block">
                                                    <input type="text" id="enterprise.person" name="enterprise.person"
                                                           value="#(enterprise.person)" class="layui-input "readonly/>
                                                </div></div>
                                        </div>
                                        <div class="layui-col-md4">
                                            <div class="layui-form-item">
                                                <label class="layui-form-label" style="width: 100px">身份证照片：</label>
                                                <div class="layui-input-block" >
                                                    <button type="button" class="layui-btn" name="check" id="check2" style="margin: 0 40px" value="#(pictrue)">点击查看</button>
                                                </div></div>
                                        </div></div></form>
                            </div>
                        </div>
                    </div>

                    <div class="layui-col-md12">
                        <div class="layui-card">
                            <div class="layui-card-header">负责人信息</div>
                            <div class="layui-card-body">
                                <form class="layui-form" action="">
                                    <div class="layui-row layui-col-space10 layui-form-item">
                                        <div class="layui-inline">
                                            <label class="layui-form-label" for="enterprise.principal">姓名：</label>
                                            <div class="layui-input-block" >
                                                <input type="text" id="enterprise.principal" name="enterprise.principal"
                                                       value="#(enterprise.principal)" class="layui-input" readonly/>
                                            </div>
                                        </div>
                                        <div class="layui-inline">
                                            <label class="layui-form-label" for="enterprise.phone" >联系方式：</label>
                                            <div class="layui-input-block" >
                                                <input type="text" id="enterprise.phone" name="enterprise.phone"
                                                       value="#(enterprise.contact)" class="layui-input "  readonly/>
                                            </div>
                                        </div></div></form>
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-md12">
                        <div class="layui-card">
                            <div class="layui-card-header">通讯信息</div>
                            <div class="layui-card-body">
                                <div class="layui-row layui-col-space10 layui-form-item">
                                    <div class="layui-inline">
                                        <label class="layui-form-label" >公司地址：</label>
                                        <div class="layui-input-block" >
                                            <input type="text" id="enterprise.address" name="enterprise.address"
                                                   value="#(enterprise.address)" class="layui-input "  readonly/>
                                        </div>
                                    </div>

                                    <div class="layui-inline">
                                        <label class="layui-form-label" for="enterprise.landline">座机电话：</label>
                                        <div class="layui-input-block">
                                            <input type="text" id="enterprise.landLine" name="enterprise.landline"
                                                   value="#(enterprise.landLine)" class="layui-input" readonly/>
                                        </div>
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label" for="enterprise.website" >企业网站：</label>
                                        <div class="layui-input-block" >
                                            <input type="text" id="enterprise.website" name="enterprise.website"
                                                   value="#(enterprise.website)" class="layui-input " readonly/>
                                        </div>
                                    </div>
                                    </div>
    </form>
</div>
</div>
</div>
<div class="layui-col-md12">
    <div class="layui-card">
        <div class="layui-card-header">公司简介</div>
        <div class="layui-card-body">
            <p style="margin-left: 20px;margin-top: 8px">#(enterprise.resume)</p>
        </div>
    </div>
</div>
</div>
            </div></div>

#end

#define js()
<script type="text/javascript">
    layui.use(['table', 'layer', 'laydate', 'jquery','form'], function () {
        var table = layui.table
            , layer = layui.layer
            , $ = layui.jquery
            , laydate = layui.laydate
            , form = layui.form;

        laydate.render({
            elem: '#enterpriseStart' //指定元素
        });

        $("button").click(function () {
            pop_show('查看图片', '#(ctxPath)/util/pdfView?fileID='+$(this).val(),'', '', function () {
            });
        })
    });

</script>
#end
